package cn.edu.nuc.onlinestore.vo;

import java.io.Serializable;

public class Goods  implements Serializable{
	private String name;
	private double price;
	private int num;
	private String info;
	private int id;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Goods(String name, double price, int num, String info, int id) {
		super();
		this.name = name;
		this.price = price;
		this.num = num;
		this.info = info;
		this.id = id;
	}
	@Override
	public String toString() {
		return "Goods [name=" + name + ", price=" + price + ", num=" + num + ", info=" + info + ", id=" + id + "]";
	}
	
	
	
	
}
